{extend name="public/base" /}
{block name="title"}		
		<meta charset="utf-8" />
		<title>{$content.name}</title>
{/block}		
{block name="body"}	
		
		<div class="global_bg" style="background: url(UPLOADS/{$term.parent.tag.bgimg}) no-repeat top center; width: 100%;min-height: 1028px; height: auto;overflow: hidden; position: absolute; top: 100px;">
			<div class="gloabl_con">
				<div class="comn_title">{$term.parent.name}</div>
				<div class="mainbox3">
					<div class="mmsj_list2">
						
						<div id="mmtab">
    
						    <div class="conten_nav">
						        <ul>
						            {foreach $term['parent']['child'] as $key => $t}
										<a href="{$t.url}"><li {if isset($term['address'][$t['id']]) }class="active"{/if}><span {if current($t) === end($t)}style="border: none;"{/if}>{$t.name}</span></li></a>	
									{/foreach}
						            
						        </ul>
						      
						    </div>
						    <div class="news_content">
						        <div class="content_box">
								

						        	<div class="recdetial_con">
						        		<p style="font-size: 16px;">{$content.name}</p><br />
											{$content.content}
											
											{Wh:form id="42"  class="registerform" enctype="multipart/form-data"}
						        			<label class="ui_button" for="sFile">上传资料 &nbsp; <img src="images/upbtn.png" /></label>
						        		    <input name="ziliao" type="file" id="sFile" style="position:absolute;clip:rect(0 0 0 0);"/>
											
											
											{/Wh:form}
											<script>
											$('#sFile').change(function(){
												$(this).parents("form").first().submit();
											});
											{if (isset($formOK))}
												{if ($formOK)}
												alert('提交成功');
												{else /}
												alert('提交失败');
												{/if}
											{/if}
											</script>
						        		</p>
						        	</div>
									
						        </div>
						        
						    </div>
						    
						   
						    
						</div>
					</div>
					
					
				</div>
			</div>
			
{/block}		
